import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import antd from './ng-zorro-antd';
import commonComponents from './common-components';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { RouterModule } from '@angular/router';
import pipe from 'src/app/pipe/cust-pipe';

@NgModule({
  declarations: [
    ...commonComponents,
    ...pipe
  ],
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    RouterModule,
    ...antd,
  ],
  exports: [
    FormsModule,
    ReactiveFormsModule,
    RouterModule,
    ...antd,
    ...commonComponents,
    ...pipe
  ]
})
export class ShareModule { }
